package server

import (
	"net/http"

	"github.com/gorilla/mux"
)

func StaticHTTPServer(r *mux.Router) {
	dir := "static/"

	handler := http.StripPrefix("/static/", http.FileServer(http.Dir(dir)))

	r.PathPrefix("/static/").Handler(handler)
}
